enumeration attribute value

Hello Forum,

I want to take two values from enumeration attribute, how can I get just the two values ?

string aaa = o."value" // enumeration attribute
if (aaa == "x" && "y") {....}

can anyone help ?

 

Regards,


Control17 - Thu Dec 07 04:33:20 EST 2017

Re: enumeration attribute value
Mike.Scharnow - Thu Dec 07 04:46:48 EST 2017

lookup 

bool isMember (attrRef, string s)

in the DXL manual, right in the section "Multi-valued enumerated attributes" :)

Re: enumeration attribute value
Control17 - Fri Dec 08 05:58:21 EST 2017

Mike.Scharnow - Thu Dec 07 04:46:48 EST 2017

lookup 

bool isMember (attrRef, string s)

in the DXL manual, right in the section "Multi-valued enumerated attributes" :)

thank u .

 

Regards,

Neven